package cn.zn.modules.expense.service.impl;

import cn.zn.modules.expense.dao.TpeFundingSourceDao;
import cn.zn.modules.expense.entity.TpeFundingSourceEntity;
import cn.zn.modules.expense.service.TpeFundingSourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("tpeFundingSourceService")
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class TpeFundingSourceServiceImpl extends ServiceImpl<TpeFundingSourceDao, TpeFundingSourceEntity> implements TpeFundingSourceService {

    final TpeFundingSourceDao tpeFundingSourceDao;

    @Override
    public List<TpeFundingSourceEntity> findByAppontMainId(String mainId) {
        return tpeFundingSourceDao.findByAppontMainId(mainId);
    }

}